package cn.itcast.web.utils;

import org.springframework.stereotype.Component;

@Component
public class GetIdUtils {


    public String[] getId(String id) {
        String[] strId = id.split("id=");

        String strId2 = "";
        for (int i = 0; i < strId.length; i++) {
            strId2 += strId[i];
        }

        String[] exportId = strId2.split("&");

        return exportId;

    }
}
